
export function getaccessToken() {
  try {
    const token: any = localStorage.getItem('auth_token')
    return JSON.parse(decodeURIComponent(escape(window.atob(token.split('.')[1])))).id || ""
  } catch (err) {
    return ''
  }
}
